
using AutoMapper;
using JYJ.AiYard.StationManagement.TbYardPayMonthCards;
using JYJ.AiYard.StationManagement.TbYardPayMonthCards.Dtos;

namespace JYJ.AiYard.StationManagement.TbYardPayMonthCards.Mapper
{

	/// <summary>
    /// 配置TbYardPayMonthCard的AutoMapper
    /// </summary>
	internal static class TbYardPayMonthCardMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap <TbYardPayZMonth, TbYardPayMonthCardListDto>();
            configuration.CreateMap <TbYardPayMonthCardListDto, TbYardPayZMonth>();

            configuration.CreateMap <TbYardPayMonthCardEditDto, TbYardPayZMonth>();
            configuration.CreateMap <TbYardPayZMonth, TbYardPayMonthCardEditDto>();

            configuration.CreateMap<TbYardPayMonthCardVML, TbYardPayMonthCardListDto>();
            configuration.CreateMap<TbYardPayMonthCardListDto, TbYardPayMonthCardVML>();

        }
	}
}
